//
//  Schedule.swift
//  DongBaoDemo
//
//  Created by 陈志勇 on 2018/8/5.
//  Copyright © 2018年 陈志勇. All rights reserved.
//

import HandyJSON

struct Schedule: HandyJSON {
    enum ScheduleStatus: String, HandyJSONEnum {
        /// 未开始
        case enroll = "0"
        /// 比赛中
        case race = "1"
        /// 已结束
        case over = "2"
    }
    
    var id: String?
    var race_name: String?
    var team1_shortname: String?
    var team2_shortname: String?
    var team1_image: String?
    var team2_image: String?
    var round: String?
    var start_time: String?
    var team1_score: String?
    var team2_score: String?
    var status: ScheduleStatus?
    var consume_time: Int?
}
